package com.xm.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xm.common.pojo.BasePojo;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@TableName("items")
@Accessors(chain = true)
public class Item extends BasePojo implements Serializable {
    private static final long serialVersionUID = -9113655355650139267L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String type;
    private Long price;
    private String createdUser;
    private String image;
    private String sellPoint;
    private Integer number;
    private Integer valid;
}
